﻿using ProTrack.Utility;
using System;
using System.Collections.Generic;
using System.Text;

namespace ProTrack.Entity
{
    /// <summary>
    /// 型号类
    /// </summary>
    public class Model
    {
        /// <summary>
        /// 型号ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 型号编号
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 型号名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = StringHelper.GetTimeNow();

        /// <summary>
        /// 修改者
        /// </summary>
        public string Updater { get; set; } = string.Empty;

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; } = false;
    }

}
